package com.xzl.org.learning_situation_analysis.service.Impl;

import com.xzl.org.learning_situation_analysis.dao.GroupManageDataMapper;
import com.xzl.org.learning_situation_analysis.entity.GroupManageData;
import com.xzl.org.learning_situation_analysis.service.GroupManageDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author 夏智力
 * @FileName GroupManageDataServiceImpl
 * @date 2022/4/15 16:47
 * @Software: IntelliJ IDEA
 */
@Service
public class GroupManageDataServiceImpl implements GroupManageDataService {


    @Autowired
    private GroupManageDataMapper groupManageDataMapper;

    @Override
    public int insertGroupManageData(GroupManageData groupManageData) {
        groupManageData.setReleaseTime(new Date(System.currentTimeMillis()));
        return groupManageDataMapper.insertGroupManageData(groupManageData);
    }

    @Override
    public GroupManageData selectByGroup(String type, int typeId, int paperId, String target_type) {
        return null;
    }
}
